<template>
	<view class="container m-0 p-0" :style="{height:Qheight+'px'}">
		<image :style="{height:Qheight+'px'}" src="/static/start.png"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				Qheight: 0
			}
		},
		methods: {

		},
		onLoad() {
			uni.getSystemInfo({
				success: (res) => {
					let height = res.windowHeight - uni.upx2px(0);
					this.Qheight = height;
				}
			});
			setTimeout(function() {
				uni.switchTab({
					url: '/pages/index/index'
				});
			}, 3000)
		}
	}
</script>

<style>
	.container {
		width: 100%;
		height: 100%;
	}
	.container>image {
		width: 100%;
	}
</style>
